/*
 * pml_qgram_grade.h
 *
 *  Created on: 2013-11-5
 *      Author: lius
 */

#ifndef PML_QGRAM_GRADE_H_
#define PML_QGRAM_GRADE_H_

int pml_load_db_file(char *database);
void pml_qgram_study(char *buff, int len, int q_len);
int pml_qgram_select(char *pattern, int pattern_len, int w_len, int q_len, double *score);
int pml_save_db_file(char *database);
inline void pml_qgram_pos_print();
#endif /* PML_QGRAM_GRADE_H_ */
